<template>
  <div id="tabBar">
    <router-link to="/">首页</router-link>
    <router-link to="/vip">会员</router-link>
    <router-link to="/subscribe">订阅</router-link>
    <router-link to="/my">我的</router-link>
  </div>
</template>

<script>
export default {
  name: "TabBar",
};
</script>
<style lang="scss" scoped>
#tabBar {
  width: 100vw;
  height: 3.375rem;
  border: 1px solid #ebebeb;
  background-color: white;
  box-sizing: border-box;
  position: fixed;
  bottom: -1px;
  left: 0;
  z-index: 99;
  display: flex;
  justify-content: space-around;
  align-items: center;
  a {
    font-weight: bold;
    color: #ccc;
    &.router-link-exact-active {
      color: #2e4e6f;
    }
  }
}
</style>